<?php

declare(strict_types=1);

namespace App\Admin\Listener;

use DI\DependencyException;
use DI\NotFoundException;

/**
 * Class LoginListener
 */
class MenuUpdateListener {
    /**
     * @param  $data
     * @throws DependencyException
     * @throws NotFoundException
     */
    public function process ($data) {
        redis()->clearByPrefix('sysUser:');
    }

}